#include "TypeCastNode.h"

#include "Output/Console.h"
#include "ScriptCompiler/Token/Token.h"
#include "ScriptCompiler/AST/TypeNode.h"

void CTypeCastNode::DebugPrint(int32_t InDepth)
{
    //print depth
    for (int32_t i = 0; i < InDepth; i++)
    {
        WH::Print(U"\t");
    }
    
    //print left parenthesis
    WH::Print(U"(");

    //print type
    Type->DebugPrint(InDepth);

    //print right parenthesis
    WH::Print(U")");

    //print content
    Expression->DebugPrint(InDepth);
}
